/******************************************************************************/
STRUCT(Item , NetItem)
//{
   ITEM_TYPE type;
   Byte      type2;
   Flt       scale, power;
   Str       name;
   MeshPtr   mesh;
   ImagePtr  icon;
   Vec       vel, ang_vel;

   void create(NetItem &src);

   // get / set
   Bool canBePutTo(SLOT_TYPE inv_slot); // test if item can be put to 'inv_slot' inventory slot

   void matrix(Matrix &matrix);   C Matrix& matrix      () {return _matrix       ;}
                                  C Matrix& matrixScaled() {return _matrix_scaled;}

   // update
   void update() {}

   // draw
   void drawIcon   (C Vec2 &pos);
   UInt drawPrepare();
   void drawShadow ();

   // network
   virtual void decompress(File &f); // decompress data from data obtained using network connection

   Item();

private:
   Matrix _matrix, _matrix_scaled;
};
/******************************************************************************/
